* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

$custom-border-radius: 8px;

.contact-page {
    margin-top: -5px;
    height: 100%;
    user-select: none;
    // background-color: wheat;


    #title {
        width: 100%;
        height: auto;
        max-height: 150px;
    }

    .tool-bar {
        width: 100%;
        height: auto;
    }

    #show-friends-info-list::-webkit-scrollbar {
        width: 3px;
        height: 20px;
        background-color: rgba(0, 0, 0, 0.5);
    }

    #show-friends-info-list::-webkit-scrollbar-thumb {
        background-color: wheat;
        border-radius: $custom-border-radius;
    }

}





.bubbles-chat-list {
    height: 550px;


    #avatar {
        display: flex;
        align-items: center;
    }

    .list-items {
        margin-top: 3px;
        // height: 50px;

        .list-basic-info {
            font-size: 12px;
            width: 193px;
            height: 100%;
            // border: 1px solid red;

            span,
            p {
                display: block;
                height: 25px;
                line-height: 23px;
                // border: 1px solid green;
                text-overflow: ellipsis;
                text-wrap: nowrap;
                overflow: hidden;
            }
        }
    }
}



#refer-friends {
    // height: 55vh;
    width: 520px;


    #refer-items {
        margin: 3px 30px;
        height: 50px;
        width: 200px;
        border-radius: $custom-border-radius;
        transition: transform 0.3s ease-in-out;

        #info {
            height: 100%;

            &>div:nth-child(1) {
                width: 45px;
                height: 40px;

                img {
                    width: 100%;
                    height: 100%;
                    border-radius: 50%;
                }
            }

            &>div:nth-child(2) {
                font-size: 13px;
                width: 120px;
                height: 100%;

                p {
                    height: 29px;
                    text-wrap: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                    word-break: break-all;
                }
            }
        }

        &:hover {
            transform: scale(0.92);
        }
    }
}

.group-chats-info {
    height: 81.5vh;

    #null-info {
        font-size: 13px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: auto;
        height: 70px;
    }
}

#add-group-dialog-info {
    .chat-group-info {

        #group-name,
        #group-type {

            width: 260px;

            .el-input {
                width: 200px;
            }
        }
    }

    .el-transfer {
        margin-top: 5px;
    }

    #operate-btns {
        margin: auto;
        margin-top: 10px;
        width: 300px;
    }
}

#request-factory {
    cursor: pointer;
    width: 100%;
    height: 370px;

    #request-items {
        margin: 5px;
        height: 60px;
        font-size: 16px;
        text-align: center;
        transition: backgroundColor 0.3s ease-in-out;
        border-radius: $custom-border-radius;

        &:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

        #request-content {
            width: 100%;

            #header-info {
                width: 320px;
                height: 100%;

                span {
                    height: 30px;
                    display: block;
                    text-overflow: ellipsis;
                    text-wrap: nowrap;
                    overflow: hidden;
                }
            }

            #footer-btns {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100px;
                height: 60px;

                .n-button {
                    width: 50px;
                    height: 50px;
                }
            }
        }
    }
}


#dropdown-friend-menus {
    height: 68%;
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 3px;
    max-width: 520px;
    user-select: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    /* 一级菜单项 */
    .menu-item {
        padding: 10px;
        height: auto;
        cursor: pointer;
        border-bottom: 1px solid #eee;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: background-color 0.3s;

        &:hover {
            background-color: #f0f0f0;
        }
    }

    // 二级菜单容器
    #second-friend-menus {
        width: 100%;
        // max-height: 200px;
        overflow-y: auto;
        overflow-x: hidden;
        /* 添加滚动条 */
        background-color: #fff;
        border-top: 1px solid #eee;
        padding-top: 5px;
    }

    // 二级菜单
    .sub-menu {
        margin-left: 20px;
        width: 100%;
        background-color: #fff;
    }

    .sub-menu-item {
        padding: 5px 0;
        height: 50px;
        cursor: pointer;
        transition: background-color 0.3s;
        font-size: 14px;
        line-height: 1.5;
        color: #333;
        display: flex;
        align-items: center;

        &:hover {
            background-color: #f0f0f0;
        }

        #friend-basic-info {
            display: flex;
            align-items: center;
            width: 100%;

            .nickname {
                margin-left: 10px;
                height: 30px;
                display: block;
                text-align: center;
                line-height: 30px;
                width: 120px;
                max-width: 200px;
                text-overflow: ellipsis;
                text-wrap: nowrap;
                overflow: hidden;
            }
        }
    }
}



// .n-tab-pane {
//     // background-color: red;
//     height: 80vh;
// }